package com.xw.model;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import javax.persistence.*;

@Getter
@Setter
@Table(name = "sys_verification_code")
public class SysVerificationCode {
    /**
     * 验证码id
     */
    @Id
    @Column(name = "vc_id")
    private String vcId;

    /**
     * 手机号
     */
    @Column(name = "vc_phone")
    private String vcPhone;

    /**
     * 验证码
     */
    @Column(name = "vc_code")
    private String vcCode;

    /**
     * 使用状态 1.有效 2.无效
     */
    @Column(name = "vc_status")
    private Integer vcStatus;

    /**
     * 发送时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 有效时间
     */
    @Column(name = "valid_time")
    private Date validTime;

}